package com.azdebugit.java8.stream.listtest;

import java.util.Date;

class Tem {
    public Tem() {
    }

    public Tem(int id) {
        this.id = id;
    }

    private int id;
    private String name;
    private boolean sex;

    public Tem(int id, String name, boolean sex, Date date) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    private Date date;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}